package com.chinacoal.microservice.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维管理——租户管理
 * @date 2020-11-16 18：14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "运维管理——租户管理")
public class CcmsSmartleasingTenant implements Serializable {

    @ApiModelProperty(value = "uuid主键")
    @TableId(value = "pk_tenant_id")
    private String pkTenantId;

    @ApiModelProperty(value = "创建人")
    private Integer createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    @ApiModelProperty(value = "最后变更人")
    private Integer lastUpdatedBy;

    @ApiModelProperty(value = "最后变更时间")
    private Date lastUpdateDate;

    @ApiModelProperty(value = "删除标记,默认为'false'")
    private Byte deleteSign;

    @ApiModelProperty(value = "租户类型，个人(0) or 企业(1)")
    private String tenantType;

    @ApiModelProperty(value = "个人&&企业-姓名 or 公司名称")
    private String tenantName;

    @ApiModelProperty(value = "企业-联系人")
    private String contacts;

    @ApiModelProperty(value = "个人-年龄")
    private Integer age;

    @ApiModelProperty(value = "个人-性别")
    private String sex;

    @ApiModelProperty(value = "个人-职业外键")
    private String fkProfessionId;

    @ApiModelProperty(value = "个人-工作单位")
    private String workUnit;

    @ApiModelProperty(value = "个人&&企业-身份证号 or 营业执照编号")
    private String idcardNumber;

    @ApiModelProperty(value = "个人&&企业-身份证or营业执照,多图，外键")
    private String fkUpPhotoId;

    @ApiModelProperty(value = "个人&&企业-联系电话")
    private String contactPhone;

    @ApiModelProperty(value = "个人&&企业-电子邮箱")
    private String email;

    @ApiModelProperty(value = "个人&&企业-备注")
    private String remarks;

    @ApiModelProperty(value = "公司地址")
    private String address;

    @ApiModelProperty(value = "企业法人")
    private String enterpriseLegalPerson;

    @ApiModelProperty(value = "租户状态；0未生效，1生效")
    private Byte tenantStatus;

    @ApiModelProperty(value = "缴费情况：0正常缴纳；1已欠费")
    private String payment;

    @ApiModelProperty(value = "租户的微信openid")
    private String wxOpenId;

    @ApiModelProperty(value = "租户密码")
    private String tenantPassword;





    @ApiModelProperty(value = "合同情况(只查询用)")
    @TableField(exist = false)
    private String contractState;

    @ApiModelProperty(value = "合同编号(只查询用)")
    @TableField(exist = false)
    private String contractNumber;

    @ApiModelProperty(value = "楼宇名称(只查询用)")
    @TableField(exist = false)
    private String buildingName;

    @ApiModelProperty(value = "房间号(只查询用)")
    @TableField(exist = false)
    private String houseNumber;

    @ApiModelProperty(value = "个人&&企业-身份证or营业执照,多图，外键(已拆分的数据，只查询用)")
    @TableField(exist = false)
    private String[] fkUpPhotoIdList;

    @ApiModelProperty(value = "验证码(修改密码用)")
    @TableField(exist = false)
    private Integer code;

    private static final long serialVersionUID = 1L;
}
